/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.serv.system.service;

import com.jnzc.ocr.serv.system.entity.SysUser;

/**
 * @author zhangcm
 * @version 1.0, 2017/8/27
 */
public interface SysUserService {

    SysUser find(Long id, Integer type);

    SysUser findByUsername(String username, Long companyId);

    SysUser findLevelOneByUsername(String username, Integer type);

    SysUser insert(SysUser obj);

    void update(SysUser obj);

    void delete(Long id);
}
